package cn.lxh.yatzy;

import java.util.Arrays;

/**
 * @ClassName Main
 * @Description main方法 使用
 * @Author luoxiaohu
 * @Date 2023/11/1 20:43
 * @Vsersion 1.0
 **/
public class Main {

    /**
     * 数据具体测试
     */
    public static void main(String[] args) {
        YatzyCreatNum creatNum = new YatzyCreatNum();
        Integer[] integers = creatNum.creatNum();
        int[] a = Arrays.stream(integers).mapToInt(Integer::intValue).toArray();
        //摇到的筛子数
        System.out.println("你扔的骰子点数："+Arrays.toString(a));
//        int[] a = {2, 3, 4, 5, 6};
        CheckYatzyRule rule = new CheckYatzyRule();
        System.out.println(rule.ScoreAnalyze(a));
    }
}
